package ModelLayer;

public class Address {
    // <editor-fold defaultstate="collapsed" desc="Attributes">
    private int id_address;
    private int id_country;
    private int id_state;
    private int id_customer;
    private int id_manufacturer;
    private int id_supplier;
    private String alias;
    private String company;
    private String lastname;
    private String firstname;
    private String address1;
    private String address2;
    private String postcode;
    private String city;
    private String other;
    private String phone;
    private String phone_mobile;
    private int date_add;
    private int date_upd;
    private boolean active;
    private boolean deleted;
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Constructors">
    public Address() {
    }

    public Address(int id_address, int id_country, int id_state, int id_customer, int id_manufacturer, int id_supplier, String alias, String company, String lastname, String firstname, String address1, String address2, String postcode, String city, String other, String phone, String phone_mobile, int date_add, int date_upd, boolean active, boolean deleted) {
        this.id_address      = id_address;
        this.id_country      = id_country;
        this.id_state        = id_state;
        this.id_customer     = id_customer;
        this.id_manufacturer = id_manufacturer;
        this.id_supplier     = id_supplier;
        this.alias           = alias;
        this.company         = company;
        this.lastname        = lastname;
        this.firstname       = firstname;
        this.address1        = address1;
        this.address2        = address2;
        this.postcode        = postcode;
        this.city            = city;
        this.other           = other;
        this.phone           = phone;
        this.phone_mobile    = phone_mobile;
        this.date_add        = date_add;
        this.date_upd        = date_upd;
        this.active          = active;
        this.deleted         = deleted;
    }
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Set & Get Methods">
    //Set & Get: ID
    public void setIDAddress(int id_address) {
        this.id_address = id_address;
    }
    public int getIDAddress() {
        return this.id_address;
    }

    //Set & Get: ID Country
    public void setIDCountry(int id_country) {
        this.id_country = id_country;
    }
    public int getIDCountry() {
        return this.id_country;
    }

    //Set & Get: ID State
    public void setIDState(int id_state) {
        this.id_state = id_state;
    }
    public int getIDState() {
        return this.id_state;
    }
    
    //Set & Get: ID Customer
    public void setIDCustomer(int id_customer) {
        this.id_customer = id_customer;
    }
    public int getIDCustomer() {
        return this.id_customer;
    }

    //Set & Get: ID Manufacturer
    public void setIDManufacturer(int id_manufacturer) {
        this.id_manufacturer = id_manufacturer;
    }
    public int getIDManufacturer() {
        return this.id_manufacturer;
    }

    //Set & Get: ID Supplier
    public void setIDSupplier(int id_supplier) {
        this.id_supplier = id_supplier;
    }
    public int getIDSupplier() {
        return this.id_supplier;
    }
    
    //Set & Get: Alias
    public void setAlias(String alias) {
        this.alias = alias;
    }
    public String getAlias() {
        return this.alias;
    }
    
    //Set & Get: Company
    public void setCompany(String company) {
        this.company = company;
    }
    public String getCompany() {
        return this.company;
    }
    
    //Set & Get: Lastname
    public void setLastname(String lastname) {
        this.lastname = lastname;
    }
    public String getLastname() {
        return this.lastname;
    }
    
    //Set & Get: Firstname
    public void setFirstname(String firstname) {
        this.firstname = firstname;
    }
    public String getFirstname() {
        return this.firstname;
    }
    
    //Set & Get: Address1
    public void setAddress1(String address1) {
        this.address1 = address1;
    }
    public String getAddress1() {
        return this.address1;
    }
    
    //Set & Get: Address2
    public void setAddress2(String address2) {
        this.address2 = address2;
    }
    public String getAddress2() {
        return this.address2;
    }
    
    //Set & Get: Postcode
    public void setPostcode(String postcode) {
        this.postcode = postcode;
    }
    public String getPostcode() {
        return this.postcode;
    }
    
    //Set & Get: City
    public void setCity(String city) {
        this.city = city;
    }
    public String getCity() {
        return this.city;
    }

    //Set & Get: Other
    public void setOther(String other) {
        this.other = other;
    }
    public String getOther() {
        return this.other;
    }
    
    //Set & Get: Phone
    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getPhone() {
        return this.phone;
    }
    
    //Set & Get: Phone_Mobile
    public void setPhoneMobile(String phone_mobile) {
        this.phone_mobile = phone_mobile;
    }
    public String getPhoneMobile() {
        return this.phone_mobile;
    }
    
    //Set & Get: Date Add
    public void setDateAdd(int date_add) {
        this.date_add = date_add;
    }
    public int getDateAdd() {
        return this.date_add;
    }

    //Set & Get: Date Upd
    public void setDateUpd(int date_upd) {
        this.date_upd = date_upd;
    }
    public int getDateUpd() {
        return this.date_upd;
    }
    
    //Set & Get: Active
    public void setActive(boolean active) {
        this.active = active;
    }
    public boolean getActive() {
        return this.active;
    }

    //Set & Get: Deleted
    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }
    public boolean getDeleted() {
        return this.deleted;
    }
    // </editor-fold>
}
